package com.example.auth.model.VO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author xijie.wang
 * @decription:登录用户对象
 * @date 2022-04-11 18:01
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "登录用户对象")
public class UserLoginVO implements Serializable {

	private static final long serialVersionUID = 8658454855119908626L;

	private Integer id;

	@ApiModelProperty(value = "用户名称")
	private String name;

	@ApiModelProperty(value = "昵称")
	private String nickname;

	@ApiModelProperty(value = "手机号")
	private String phone;

	@ApiModelProperty(value = "最后登录时间")
	private Date logged;

	@ApiModelProperty(value = "token")
	private String token;

}
